package com.example.demo.Dao;

import com.example.demo.enity.Resume;
import com.example.demo.enity.ResumeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ResumeMapper {
    long countByExample(ResumeExample example);

    int deleteByExample(ResumeExample example);

    int deleteByPrimaryKey(Integer jlid);

    int insert(Resume record);

    int insertSelective(Resume record);

    List<Resume> selectByExample(ResumeExample example);

    Resume selectByPrimaryKey(Integer jlid);
    
    //查询用户的简历
    List<Resume> selectResumeByUid(Integer uid);

    //招聘者查询简历投递信息
    List<Resume> selectResumeWithRecruitmentByZUid(Integer uid);
    
    //求职者查询简历投递信息
    List<Resume> selectResumeWithRecruitmentByTUid(Integer uid);
    
    int updateByExampleSelective(@Param("record") Resume record, @Param("example") ResumeExample example);

    int updateByExample(@Param("record") Resume record, @Param("example") ResumeExample example);

    int updateByPrimaryKeySelective(Resume record);

    int updateByPrimaryKey(Resume record);
}